<html>
    <head>
	    <title>${g.message(code:"new.index.last")}</title>
        <meta name="layout" content="main"></meta>
    </head>
    <body>
    	<h2>${g.message(code:"new.index.last")}</h2>
	    <g:each var="story" in="${stories}">
	     <p><g:render template="detail" model="${['story':story]}"/></p>
		</g:each>
		<g:paginate
           controller="${controllerName}" action="${actionName}" 
           total="${Story.count()}" />
    </body>
</html>